package com.code.day14ApI2.BaoZhuang;

public class Demo03 {
    public static void main(String[] args) {
          Integer i = 10;
          Integer i1 = 10;
          System.out.println(i == i1);
          System.out.println(i.equals(i1) );

          System.out.println("===============");

        Integer i2 = 200;
        Integer i3 = 200;
//        ==是对象的引用是否相同
        System.out.println(i2 == i3);
//        equals是比较里面的值是否相同
        System.out.println(i2.equals(i3) );
    }
}
